//
//  AboutController.m
//  XiangCaoJiaYuan
//
//  Created by long Kan on 17/9/22.
//  Copyright © 2017年 tongj. All rights reserved.
//

#import "AboutController.h"

@interface AboutController ()

@end

@implementation AboutController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"关于我们";
    UIButton *backbutton = [[UIButton alloc]initWithFrame:CGRectMake(10, 20, 15, 25)];
    [backbutton setBackgroundImage:[UIImage imageNamed:@"香草园地-发布信息_03@2x"] forState:UIControlStateNormal];
    [backbutton addTarget:self action:@selector(goBacktoUp) forControlEvents:UIControlEventTouchUpInside];
    UIBarButtonItem *backItem = [[UIBarButtonItem alloc]initWithCustomView:backbutton];
    self.navigationItem.leftBarButtonItem = backItem;
    self.view.backgroundColor = [UIColor whiteColor];
    [self view1];
}

-(void)goBacktoUp{
    [self.navigationController popViewControllerAnimated:YES];
}

-(void)view1{
    
    UILabel *label = [[UILabel alloc]initWithFrame:CGRectMake(10, 30, UIScreen_WIDTH-20, 30)];
    label.text = @"客服电话：400-868-8455";
    label.textAlignment = NSTextAlignmentCenter;
    [self.view addSubview:label];
}

@end
